package appapi.entity.Zhongjiao;

import appapi.common.BaseEntity;
import appapi.entity.record.MonthdetailEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;import org.springframework.beans.BeanUtils;

/**
 * @author  djq
 * @date 2023/5/23 17:43
 * @description: 
 */

/**
 * 月检名称
 */
@ApiModel(value = "月检名称")
@Data
public class MonthdetailDto extends BaseEntity {

    private Long monthRecId;

    private Long monthId;
    /**
     * 检测项目
     */
    private String monthItem;

    /**
     * 0正常 1异常
     */
    private Integer monthResult;

    private String monthDesc;

    private Integer auditState;

    private String auditNote;

    private String imgUrl;
    /**
     * 检测要求
     */
    private String monthRequire;

    public MonthdetailEntity vo2Entity() {
        MonthdetailEntity entity = new MonthdetailEntity();
        BeanUtils.copyProperties(this, entity);
        return entity;
    }
}